package net.gdface.bean;

import java.lang.reflect.Method;


/**
 * 非标准属性描述符接口(外部引用)
 * @author guyadong
 * @since 2.8.11
 */
public interface NoStandardPropertyDescriptor<D,I extends InvokeMewthodContext<D>> {
	public Method getReadMethod(Class<?> clazz, D descriptor) ;
	public Method getWriteMethod(Class<?> clazz, D descriptor);
	public I beforeInvokeMethod(I context);
	/**
	 * 指定的对象可以写入返回{@code true},否则返回{@code false}
	 * @param object 
	 */
	public boolean isWritable(Object object);
}
